package com.hailong.zyt.beans;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 
 * </p>
 *
 * @author hailong
 * @since 2021-06-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("homework")
public class Homework implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "hw_id", type = IdType.AUTO)
    private Long hwId;

    @TableField("cou_id")
    private Long couId;

    @TableField("tea_id")
    private Long teaId;

    @TableField("hw_title")
    private String hwTitle;

    @TableField("hw_startTime")
    private LocalDateTime hwStartTime;

    @TableField("hw_endTime")
    private LocalDateTime hwEndTime;

    @TableField("hw_question")
    private String hwQuestion;

    @TableField("hw_fullMark")
    private Float hwFullMark;

    @TableField(exist = false)
    private String hwFinishedRate;

    @TableField(exist = false)
    private Integer hwsState;

    @TableField(exist = false)
    private float hwsMark;

}
